package cn.com.yusys.yusp.admin.domain;

import cn.com.yusys.yusp.commons.excel.annotation.ExcelColumn;
import cn.com.yusys.yusp.commons.excel.annotation.ExcelColumnDictCode;
import cn.com.yusys.yusp.commons.excel.annotation.ExcelName;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import java.io.Serializable;

@ExcelName(value = "日志记录", sheet = "工作表")
public class AdminSmLogPojo extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelColumn(title = "日志id", index = 0)
    private String logId;

    @ExcelColumn(title = "操作后值", index = 1)
    private String afterValue;

    @ExcelColumn(title = "操作前值", index = 2)
    private String beforeValue;

    @ExcelColumn(title = "内容", index = 3)
    private String content;

    @ExcelColumn(title = "日志类型", index = 4)
    @ExcelColumnDictCode("LOG_TYPE")
    private String logTypeId;

    @ExcelColumn(title = "登陆Ip", index = 5)
    private String loginIp;

    @ExcelColumn(title = "操作标志", index = 6)
    private String operFlag;

    @ExcelColumn(title = "操作对象", index = 7)
    private String operObjId;

    @ExcelColumn(title = "操作时间", index = 8)
    private String operTime;

    @ExcelColumn(title = "所属机构", index = 9)
    private String orgId;

    @ExcelColumn(title = "操作用户", index = 10)
    private String userId;

    public AdminSmLogPojo() {
    }

    public String getLogId() {
        return this.logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getAfterValue() {
        return this.afterValue;
    }

    public void setAfterValue(String afterValue) {
        this.afterValue = afterValue;
    }

    public String getBeforeValue() {
        return this.beforeValue;
    }

    public void setBeforeValue(String beforeValue) {
        this.beforeValue = beforeValue;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLogTypeId() {
        return this.logTypeId;
    }

    public void setLogTypeId(String logTypeId) {
        this.logTypeId = logTypeId;
    }

    public String getLoginIp() {
        return this.loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getOperFlag() {
        return this.operFlag;
    }

    public void setOperFlag(String operFlag) {
        this.operFlag = operFlag;
    }

    public String getOperObjId() {
        return this.operObjId;
    }

    public void setOperObjId(String operObjId) {
        this.operObjId = operObjId;
    }

    public String getOperTime() {
        return this.operTime;
    }

    public void setOperTime(String operTime) {
        this.operTime = operTime;
    }

    public String getOrgId() {
        return this.orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "AdminSmLogPojo{" + "logId='" + logId + '\'' + ", afterValue='" + afterValue + '\'' + ", " +
                "beforeValue='" + beforeValue + '\'' + ", content='" + content + '\'' + ", logTypeId='" + logTypeId +
                '\'' + ", loginIp='" + loginIp + '\'' + ", operFlag='" + operFlag + '\'' + ", operObjId='" +
                operObjId + '\'' + ", operTime='" + operTime + '\'' + ", orgId='" + orgId + '\'' + ", userId='" +
                userId + '\'' + '}';
    }
}